package com.guchenbo.example.classes;

public class Demo {

    private String name;

    public Demo(String name) {
        this.name = name;
    }

    public static void main(String[] args) throws InstantiationException, IllegalAccessException {
        Class<Demo> clazz = Demo.class;
        Demo demo = clazz.newInstance();
        System.out.println(demo);
    }
}
